#pragma once
#include <vector>

#include "PushObserver.h"
#include "Event.h"

class PushTarget
{
public:
	void AddObserver(IPushObserver& observer);
	void RemoveObserver(IPushObserver& observer);
	void SetEvent(const Event& event);
private:
	void Notify() const;
private:
	std::vector<IPushObserver*> _observers;
	Event _event;
};